DeliciousBrains\WPMDB\Common\Util\Util D

Total Complexity 245
Dependencies 11
Dependents 46
Total lines 1,436
Lines of code 754
Logical lines of code 424
Comment lines 381
Methods 81
Properties 4

Methods 81

Method Rating Maintainability Complexity Lines of code
unparse_url()
A
58 11 12
parse_url()
A
51 9 26
uploads_info()
A
52 9 25
get_bottleneck()
S
52 7 24
get_max_upload_size()
S
53 7 23
is_ajax()
S
60 7 12
wpmdb_is_ajax()
S
60 7 12
deactivate_other_instances()
S
52 6 24
is_json()
S
58 6 16
unserialize()
S
59 6 13
site_details()
S
49 5 27
subsites_info()
S
52 5 23
subsites_list()
S
56 5 18
get_plugin_details()
S
57 5 16
get_absolute_root_file_path()
S
57 4 16
isMDBPage()
S
59 4 16
profile_value()
S
65 5 9
is_frontend()
S
76 5 3
is_wpmdb_ajax_call()
S
68 5 6
get_active_firewall_plugins()
S
59 4 14
get_memory_limit()
S
62 4 11
has_method_been_called()
S
63 4 11
is_muplugin_writable()
S
63 4 11
rest_url()
S
68 4 6
set_time_limit_available()
S
63 4 10
nocache_headers()
S
65 4 9
mask_licence()
S
59 3 14
home_url()
S
63 3 11
is_muplugin_installed()
S
63 3 11
get_stage_base_dir()
S
56 2 18
is_wp_compatible()
S
67 3 7
is_plugin_active_for_network()
S
64 3 10
scheme_less_url()
S
63 3 10
referer_from_url()
S
63 3 10
diverse_array()
S
66 3 9
validate_json()
S
64 3 10
is_plugin_active()
S
77 2 3
getPluginMeta()
S
70 2 6
generate_key()
S
65 2 8
get_plugin_folder()
S
71 2 6
prefix_updater()
S
68 2 7
get_path_current_site()
S
69 2 7
get_path_from_url()
S
74 2 4
change_tables_prefix()
S
68 2 7
settings_page_link()
S
65 2 9
preempt_expect_header()
S
70 2 6
formatBytes()
S
64 2 8
is_doing_mdb_rest()
S
73 2 4
ajax_url()
S
64 2 10
open_ssl_enabled()
S
70 2 7
set_time_limit()
S
74 2 5
display_errors()
S
64 2 10
filter_nonce_filters()
S
65 2 9
get_caller_function()
S
65 2 9
str_replace_first()
S
68 2 7
get_wpe_cookie()
S
70 2 6
gzdecode()
S
69 2 6
is_empty_dir()
S
67 2 7
safe_wp_unslash()
S
69 2 7
isPro()
S
79 2 3
is_dev_environment()
S
78 2 3
is_addon_registered()
S
78 1 3
is_regex_pattern_valid()
S
78 1 3
disable_legacy_addons()
S
68 1 8
__construct()
S
77 1 4
json_encode_trim()
S
78 1 3
uuidv4()
S
65 1 9
throw_ajax_error()
S
76 1 4
get_state_data()
S
80 1 3
get_short_home_address_from_url()
S
78 1 3
gzip()
S
80 1 3
remove_wp_plugin_dir()
S
75 1 4
print_plugin_details()
S
79 1 3
get_short_uploads_dir()
S
73 1 4
simple_site_url()
S
76 1 4
slash_one_direction()
S
78 1 3
check_ajax_referer()
S
67 1 8
create_nonce()
S
67 1 8
make_wpmdb_wpdb_instance()
S
80 1 3
get_post_max_size()
S
74 1 4
external_link()
S
77 1 3